package com.sixdog.regulate.service;

import com.sixdog.regulate.bean.CmdResult;

//系统按键
public interface KeycodeService {
    //拨号键
    static final int KEYCODE_CALL = 5;
    //挂机键
    static final int KEYCODE_ENDCALL = 6;
    //按键Home
    static final int KEYCODE_HOME = 3;
    //菜单键
    static final int KEYCODE_MENU = 82;
    //返回键
    static final int KEYCODE_BACK = 4;
    //搜索键
    static final int KEYCODE_SEARCH = 84;
    //拍照键
    static final int KEYCODE_CAMERA = 27;
    //拍照对焦键
    static final int KEYCODE_FOCUS = 80;
    //电源键
    static final int KEYCODE_POWER = 26;
    //通知键
    static final int KEYCODE_NOTIFICATION = 83;
    //话筒静音键
    static final int KEYCODE_MUTE = 91;
    //扬声器静音键
    static final int KEYCODE_VOLUME_MUTE = 164;
    //音量增加键
    static final int KEYCODE_VOLUME_UP = 24;
    //音量减小键
    static final int KEYCODE_VOLUME_DOWN = 25;

    //按一次(keyCode按键code，见常量)
    CmdResult pressKey(String deviceSerial,int keyCode);
}
